//
//  main.cpp
//  Blog_C++_Reflection
//
//  Created by 晓龙 张 on 12-2-28.
//  Copyright (c) 2012年 chukong-inc. All rights reserved.
//

#include <iostream>

#include "CKBaseClass.h"

int main(int argc, const char * argv[])
{

    CKBaseClass *pVar = (CKBaseClass*)CKClassFactory::sharedClassFactory().getClassByName("CKHelloClass") ;
    pVar->registProperty() ;
    
    int pValue = 10341230 ;
    
    pVar->m_propertyMap["setm_pValue"](pVar, &pValue) ;
    pVar->display() ;
    // insert code here...
    std::cout << "Hello, World!\n";
    return 0;
}

